package utils;

import java.util.ResourceBundle;

public class ConfigUtil
{
    public static String getJDBCConfigValue(String key) {
        if (key == null || ".".equals(key)) {
            return "";
        }
        ResourceBundle bundle = ResourceBundle.getBundle("jdbc");
        String value = bundle.getString(key);
        return value == null ? null : value.trim();
    }
}
